import http from '@/utils/request'

export const addfangan = (params) => {
  return http({
    url: '/api/guwen/addfangan',
    method: 'post',
    data: params
  })
}
export const fangan = (params) => {
  return http({
    url: '/api/guwen/fangan',
    method: 'post',
    data: params
  })
}
export const fangAnDetails = (params) => {
  return http({
    url: '/api/guwen/fanganinfo',
    method: 'post',
    data: params
  })
}
export const fangAnList = (params) => {
  return http({
    url: '/api/guwen/yingyangchufang',
    method: 'post',
    data: params
  })
}
export const addchufang = (params) => {
  return http({
    url: '/api/guwen/addchufang',
    method: 'post',
    data: params
  })
}
export const chufanginfo = (params) => {
  return http({
    url: '/api/guwen/chufanginfo',
    method: 'post',
    data: params
  })
}
export const yulanchufang = (params) => {
  return http({
    url: '/api/doctor/yulanchufang',
    method: 'post',
    data: params
  })
}
